<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org"
      xmlns:sec="http://www.thymeleaf.org/extras/spring-security">
<head>
  <meta charset="UTF-8">
  <title>Admin</title>
</head>
<body>
<div class="page-content">
  <div class="layui-tab tab" lay-filter="xbs_tab" lay-allowclose="false">
    <ul>
      <li></li>
    </ul>
    <div class="layui-tab-content">

      <table class="user-table">
        <thead>
        <tr>
          <th>学号</th>
          <th>姓名</th>
        </tr>
        </thead>
        <tbody th:each="student:${session.studentList}">
        <tr>
          <form  method="post" th:action="@{/teacher/do_teacher_score}" th:if="${student.classStatus} eq '0'">
          <td th:text="${student.stuNumber}">1</td>
          <td th:text="${student.stuName}">小明</td>
           <td><input type="text" name="score"></td>
            <input type="hidden" name="classId" th:value="${student.classId}" readonly="true" ><br>
            <input type="hidden" name="stuId" th:value="${student.stuId}" readonly="true" ><br>
          <td class="admin-manage">
            <input type="submit" value="提交">
          </td>
          </form>
        </tr>

        </tbody>
      </table>


    </div>
  </div>
</div>
</div>
</body>
</html>